package com.zkthink.ceres.applet.server.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**

@Author cmz
@Date 2024-04-30 13:04
*/
/**
    * 店铺服务项目
    */
@Data
@TableName(value = "applet_server")
public class AppletServer {
    /**
     * 服务项目
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 副标题
     */
    @TableField(value = "subtitle")
    private String subtitle;

    /**
     * 温馨提示
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 产品图片多张逗号间隔
     */
    @TableField(value = "img")
    private String img;

    /**
     * 服务内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 背景图
     */
    @TableField(value = "background_img")
    private String backgroundImg;

    /**
     * 服务分类id
     */
    @TableField(value = "server_category_id")
    private Long serverCategoryId;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 最后修改人
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 最后修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @TableField(value = "is_delete")
    @TableLogic(value = "0",delval = "1")
    private Integer isDelete;

    /**
     * 门市价
     */
    @TableField(value = "store_price")
    private BigDecimal storePrice;

    /**
     * 团购价
     */
    @TableField(value = "group_buy_price")
    private BigDecimal groupBuyPrice;

    /**
     * 归属
     */
    @TableField(value = "belong")
    private Integer belong;

    public static final String COL_ID = "id";

    public static final String COL_TITLE = "title";

    public static final String COL_SUBTITLE = "subtitle";

    public static final String COL_REMARKS = "remarks";

    public static final String COL_IMG = "img";

    public static final String COL_CONTENT = "content";

    public static final String COL_BACKGROUNDIMG = "backgroundimg";

    public static final String COL_SERVER_CATEGORY_ID = "server_category_id";

    public static final String COL_CREATE_USER = "create_user";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_USER = "update_user";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_IS_DELETE = "is_delete";
}